import request from '@/utils/request'
// 登录接口
export function login(data) {
  return request.post('/sys/login', data)
}
// 获取用户信息
export const reqGetUserInfo = () => request({
  method: 'post',
  url: '/sys/profile'
})
// 获取员工信息
export const reqGetUSerDetail = (id) => request({
  url: `/sys/user/${id}`
})
// 获取部门负责人列表
export const reqGetSimpleList = () => request({
  method: 'get',
  url: '/sys/user/simple'
})
